package com.zqx.bridge.abstractclass;

import com.zqx.bridge.auxiliary.Matrix;
import lombok.extern.slf4j.Slf4j;

/**
 * description: 扩充抽象类
 * @author zqx
 * @date 2018/09/03
 */
@Slf4j
public class GIFImage extends Image {
    @Override
    public void parseFile(String fileName) {
        Matrix matrix = new Matrix();
        matrix.setX("GIFX");
        matrix.setY("GIFY");
        imp.doPaint(matrix);
        log.info(fileName+",格式为GIF");
    }
}
